package com.app.team.liquid;

//============================================================================
//Name        : startScreen.jaca
//Author      : Kyle Bartush
//Version     : 0.1
//Description : Simple splash screen showing the team liquid
//				logo before starting the main program.
//============================================================================



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;

public class startScreen extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.startscreen);
		
		
		Thread timer = new Thread(){
			public void run() {
			
				try{
					sleep( 3000 );					
				}catch(InterruptedException e){
					e.printStackTrace();		
				}finally{
					Intent  openMenu = new Intent("com.app.team.liquid.MENU");
					
					startActivity(openMenu);
				}				
			}			
		};		
		timer.start();		
	}

	@Override
	protected void onPause() {
		super.onPause();
		finish();
	}
	

}
